<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Welcome to lighttpd!</title>
    <style type="text/css">
        body {
            width: 90%;
            max-width: 900px;
            margin: 0 auto;
            padding: 40px 20px;
            font-family: "Microsoft YaHei", Arial, Helvetica, sans-serif;
            line-height: 1.6;
            color: #333;
        }
        .header {
            text-align: center;
            margin-bottom: 30px;
        }
        h1 {
            color: #3498db; /* lighttpd 风格蓝色 */
            font-weight: bold; /* 兼容老浏览器粗体 */
            margin-bottom: 10px;
        }
        .main-content {
            background-color: #f8f9fa;
            padding: 25px;
        }
        .highlight {
            color: #2980b9;
            font-weight: bold;
        }
        .note {
            margin-top: 20px;
            padding: 15px;
            background-color: #e8f4f8;
            border-left: 4px solid #3498db;
        }
        .file-path {
            color: #e74c3c;
            font-weight: bold;
            font-family: "Courier New", monospace; /* 兼容旧版等宽字体 */
        }
        /* IE 老版本兼容修复 */
        <!--[if lte IE 8]>
        .main-content {
            background-color: #f0f0f0;
        }
        .note {
            border: 1px solid #3498db;
            border-left-width: 4px;
        }
        <![endif]-->
    </style>
</head>
<body>
    <div class="header">
        <h1>Welcome to <span class="highlight">lighttpd</span>!</h1>
    </div>

    <div class="main-content">
        <p>如果看到此页面，说明 lighttpd 服务器已成功安装并正常运行。</p>
        <p>需要进一步配置服务器，请参考 <span class="highlight">lighttpd 官方文档</span>。</p>
        
        <div class="note">
            <p><strong>提示：</strong>默认网站文件通常位于 <span class="file-path">/var/www/html</span> 或 <span class="file-path">/srv/www/htdocs</span> 目录</p>
            <p><strong>配置文件：</strong>主要配置文件为 <span class="file-path">/etc/lighttpd.conf</span></p>
        </div>
    </div>
</body>
</html>
